package com.kh.first.task;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TaskJob {

    public void job1() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
        Date now = new Date();
        System.out.println("******************任务进行中****************"+sdf.format(now));
    }

    public void job2() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
        Date now = new Date();
        System.out.println("******************任务进行中****************"+sdf.format(now));
    }
}